package com.example.springbootdemo.constant;

import lombok.Data;

/**
 * @author Gong.Yang
 */
@Data
public class BaseException extends RuntimeException {
    private String code;
    private String msg;

    public BaseException(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
